//
// Created by liushuai on 18-8-7.
//

#ifndef EX13_PERSON_HPP
#define EX13_PERSON_HPP
#include <string>
#include <iostream>
class Person {
private:
    std::string name;
    int age;
public:
    Person(std::string n = "null",int a = 0);
    std::string get_name() const;
    int get_age() const;
    Person operator=(const Person &p);
    friend std::ostream & operator<<(std::ostream &os,const Person &p);
    virtual ~Person();

};


#endif //EX13_PERSON_HPP
